package com.qiaofang.dataprocessing.dao.impl;

import com.qiaofang.dataprocessing.dao.SysFieldDao;
import com.qiaofang.dataprocessing.dao.mapper.SysFieldMapper;
import com.qiaofang.dataprocessing.stub.bean.SysFieldProperty;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

/**
 * Created by IDEA.
 *
 * @auther Zym.
 * @company qiaofang
 * @date 2020/11/18 17:23
 */
@Repository("sysFieldDao")
public class SysFieldDaoImpl implements SysFieldDao {
    @Autowired
    private SysFieldMapper sysFieldMapper;

    @Override
    public List<SysFieldProperty> getListForSync() {
        return sysFieldMapper.getListForSync();
    }

    @Override
    public long getCountForSync() {
        return sysFieldMapper.getCountForSync();
    }

    @Override
    public long getUpdateCountForSync(Date timing) {
        return sysFieldMapper.getUpdateCountForSync(timing);
    }
}
